package com.ysyx.ysyx_admin.mapper;

import com.ysyx.ysyx_admin.pojo.PassengerPojo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【passenger_inf(乘客信息表)】的数据库操作Mapper
* @createDate 2023-04-18 10:09:53
* @Entity com.ysyx.ysyx_admin.pojo.PassengerPojo
*/
@Mapper
public interface PassengerPojoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(PassengerPojo record);

    int insertSelective(PassengerPojo record);

    PassengerPojo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PassengerPojo record);

    int updateByPrimaryKey(PassengerPojo record);


    //展示方法
    List<PassengerPojo> showGoods(PassengerPojo passengerPojo);

    int passengerCount();
}
